package demo02_FactoryMethod.factory;

import demo02_FactoryMethod.model.IPicReader;
import demo02_FactoryMethod.model.JPGPicReader;

public class JPGFactory implements  Factory{
    @Override
    public IPicReader createPicReader() {
        System.out.println("jpgFactory:create");
        return new JPGPicReader();
    }
}
